<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>金薇微商城后台管理系统</title>
</head>
<link href="../static/css/test.css" rel="stylesheet">
<body>
<script src="../static/js/echarts.min.js"></script>
<script src="../static/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/ueditor/ueditor.config.js" id="configScriptTag"></script>
<script type="text/javascript" src="../static/ueditor/ueditor.all.js" id="editorScriptTag"></script>
<script src="../static/js/china.js"></script>
<script src="../src/app.js"></script>
<script src="../src/axios.min.js"></script>
<script src="../src/vue.js"></script>
<script src="../src/cookie.js"></script>

<div id="app">
    <div data-v-83634ff0="" class="login-container">
    <div data-v-83634ff0="" class="login-inner-box">
        <canvas data-v-83634ff0="" id="root" width="1000" height="560" class="art-canvas"></canvas>
        <div data-v-83634ff0="" class="login-form">
            <img data-v-83634ff0="" src="../static/img/kivie.png" alt="" class="login-img" width="35%">
            <div data-v-83634ff0="" class="val user-after">
                <input data-v-83634ff0="" type="text" autocomplete="off" placeholder="用户名" class="login-input user" id="name">
                <label data-v-83634ff0="" id="userName"></label>
            </div> <div data-v-83634ff0="" class="val pwd-after">
            <input data-v-83634ff0="" type="password" autocomplete="new-password" placeholder="密码" class="login-input user" id="password">
            <label data-v-83634ff0="" id="pwd"></label>
        </div>
            <button data-v-83634ff0="" type="button" class="el-button login-input login-btn el-button--default" id="login" onclick="login()"><!----><!----><span>登录</span></button>
        </div>
    </div>
    <div data-v-83634ff0="" class="fixed-bar"><p data-v-83634ff0="">ICP备案号：浙ICP备17035965号</p> <p data-v-83634ff0="">©2018-浙江金薇科技发展有限公司</p></div>
</div>
</div>
<div class="spinner"><div class="bounce1"></div>
    <div class="bounce2"></div><div class="bounce3"></div>
</div>
<script type="text/javascript" src="../static/js/manifest.js"></script>
<!--<script type="text/javascript" src="../static/js/vendor.js"></script>-->
<script type="text/javascript" src="../static/js/util.js"></script>
<script type="text/javascript" src="../static/js/app.js"></script>
<script>
    function login() {
        var name=$("#name").val();
        var password=$("#password").val();
//        alert(name)
        if(name==null||name.trim()==""){
            $("#userName").addClass("error").text("请填写用户名");
            return false;
        }else{
            $("#userName").addClass("error").text("");
        }
        if(password==null||password.trim()==""){
            $("#pwd").addClass("error").text("请填写密码");
            return false;
        }else{
            $("#pwd").addClass("error").text("");
        }
        var n = {username:name,password:password};
        app.login(n);
    }
</script>
</body>
</html>